package com.wy.ssm01.service;


import com.wy.ssm01.entity.MyTestEntity;

import java.math.BigDecimal;
import java.util.List;

public interface TestService {
    int insert(MyTestEntity testEntity);

    int delete(Integer testId);

    int update(MyTestEntity testEntity);

    MyTestEntity queryById(Integer testId);

    List<MyTestEntity> queryAll();
    
    boolean transfer(Integer fromId, BigDecimal quantity, Integer toId) throws Exception;
}
